[NTG-context] Re: start/stopregister

2024-04-26 Thread Hans Hagen
A\index{A} B \page A\startregister [index] {A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\stopregister [index] {A} B\stopregister [index] [B] \page \placeregister[index] \stoptext And I'm not even sure if this is allowed to say anymore, but: works in mkii

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext     A\index{A} B \page     A\startregister [index] {A} B

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext A\index{A} B \page A\startregister [index] {A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\stopregister [index] {A} B\stopregister [index] [B] \page

[NTG-context] Re: start/stopregister

2024-04-25 Thread Hans Hagen
confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become an expert on tuc files since yesterday (ha!): if I compare the tuc from a mkiv and a mkxl run, I see that mkiv produces an entry ["lastrealpage"]=9 in the references table, mkxl doesn't. Th

[NTG-context] Re: start/stopregister

2024-04-25 Thread Taco Hoekwater
example, and can confirm it doesn’t result in a >> page range in the index. Also gives no error. > > Since I've become an expert on tuc files since yesterday (ha!): if I compare > the tuc from a mkiv and a mkxl run, I see that mkiv produces an entry > ["las

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
but not in mkxl. All best Thomas \setuppapersize [A6] \starttext A\index{A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\index{A} B\stopregister [index] [B] \page \placeregister[index] \stoptext I’m using it like \startregister[index][bibliografie]{Bibliografie

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
] \starttext A\index{A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\index{A} B\stopregister [index] [B] \page \placeregister[index] \stoptext ___ If your question is of interest

[NTG-context] Re: what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-24 Thread Wolfgang Schuster
fullsquare xscaled r yscaled e shifted (r/2, h/2) withcolor darkred; \stopuseMPgraphic \defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}] \setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}] \starttext \dorecurse{10}{\input tufte\page} \stoptext Any clue is warmly

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
\type {inbetween-001.tex} for an example. I don't really understand what capability the comment is referring to let alone be able to create an example demonstrating the difference. Thank you, so it looks like "location=here" is only used with \writebetweenlist to get the current p

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-23 Thread Joel via ntg-context
Okay, I've been trying many things with this \startpostponing code--if I understand what's happening, its moving the figures to a later page. I'm not sure that's quite ideal, its not fully working with my actual documents, and leaves lots of empty white space, when I'm already in a situation

[NTG-context] Re: minwidth not working ?

2024-04-22 Thread Denis Maier via ntg-context
dth for external figures? > >>> But this here does not work > >>> > >>> [...] > >>> > >>> Am I missing something here? > >> > >> There are no minwidth/minheight values for \externalfigure. > >> > >> Wolfga

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
of the > footnote messages at the bottom of the page. The actual footnote number > within the body is rendered, but no number is listed in at the bottom of > the page. So I might see a list of footnotes, for instance, on page 1, I > only get footnotes 1, 2, 3, 5, and 6, but 4 was mysterious

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
the footnotes are just in the main text, but sometimes also in figure captions, inside floats, inside tables that are inside floats, inside tabulations inside floats, etc. What I find alarming is it is frequently not rendering all of the footnote messages at the bottom of the page. The actual footnote

[NTG-context] Why don't footnotes appear in floats or figures?

2024-04-21 Thread Joel via ntg-context
in figure captions, inside floats, inside tables that are inside floats, inside tabulations inside floats, etc. What I find alarming is it is frequently not rendering all of the footnote messages at the bottom of the page. The actual footnote number within the body is rendered, but no number

[NTG-context] what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-20 Thread garulfo
darkred; \stopuseMPgraphic \defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}] \setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}] \starttext \dorecurse{10}{\input tufte\page} \stoptext Any clue is warmly welcome

[NTG-context] Re: minwidth not working ?

2024-04-20 Thread Wolfgang Schuster
here? There are no minwidth/minheight values for \externalfigure. Wolfgang So the wiki is wrong here? https://wiki.contextgarden.net/Command/setupexternalfigure Yes the comment at the end of page is wrong and the text about the strut setting can also be removed, only the orientation value

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Pablo Rodriguez via ntg-context
e I cannot just adjust > slightly adjust the dimensions to get rid of that. It seems that you can place the figures somehow (https://www.pragma-ade.nl/general/qrcs/setup-en.pdf#page=169): See the extreme example: \showframe\showgrid\showstruts \setupexternalfigures [location={lo

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Pablo Rodriguez via ntg-context
\showframe \starttext \doloopoverlist{none, width, height, maxwidth, maxheight} {\externalfigure[cow.pdf][\recursestring=.125\textwidth]} \page \doloopoverlist{none, width, height, minwidth, minheight} {\externalfigure[cow.pdf][\recursestring=.33\textwidth]} \stoptext Jus

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Denis Maier via ntg-context
% On the first page, the images appear stacked above each other while on the second page they appear next to each other. It took me some time to reproduce this behaviour, and I can't claim to understand what is happening. But it seems to be related to the specific widths of the images. When I change

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-19 Thread Hans Hagen
On 4/18/2024 8:26 AM, Henning Hraban Ramm wrote: Am 18.04.24 um 02:09 schrieb Joel via ntg-context: I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Henning Hraban Ramm
rden.net/Command/*** and moving the "how-to" examples to a separate page (or pages). I agree. Let’s accept this as a rule for further wiki editing. Also, explain parameters with top priority in Command/setup* pages (keeping them in Command/define* pages etc. doesn’t hurt, but at least exp

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-18 Thread Henning Hraban Ramm
Am 18.04.24 um 02:09 schrieb Joel via ntg-context: I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed

[NTG-context] How to isolate serious errors from warnings?

2024-04-17 Thread Joel via ntg-context
I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed on screen as it should: (1) I tried placing a table

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Garulfo
ation by clarifying the purpose of each element. So I started a potential new "welcome page" : https://wiki.contextgarden.net/Main_Page2 The main lines would be : - Tutorials: installation pages, step by step examples - How-to guides: most of the existing wiki pages which are not https://w

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Bruce Horrocks
gt; by clarifying the purpose of each element. > > So I started a potential new "welcome page" : > https://wiki.contextgarden.net/Main_Page2 > > The main lines would be : > - Tutorials: installation pages, step by step examples > - How-to guides: m

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-16 Thread Henning Hraban Ramm
Am 14.04.24 um 21:45 schrieb Peter Hopcroft via ntg-context: It would be great if the main page actually said what Context does. In my poster (still WIP) I wrote: start --- The “infamous” alternative to LaTeX While most designers use graphical tools, there are still areas where code-based

[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
pDatum \startDatum[title={secD}]%   \dorecurse{50}{ddd } \stopDatum \startDatum[title={secE}]%   \dorecurse{50}{eee } \stopDatum \stoptext %== %== I'd like to write the marking of the very first text at the current page to the header. That seems to be a bit tricky, at least

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Peter Hopcroft via ntg-context
It would be great if the main page actually said what Context does. > On 15/04/2024, at 2:18 AM, Henning Hraban Ramm wrote: > > Hi Garulfo, > > I’m not against the “new order”, but I’d keep the colorful subject tiles. > Different accesses are good IMO (as long

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Henning Hraban Ramm
Hi Garulfo, I’m not against the “new order”, but I’d keep the colorful subject tiles. Different accesses are good IMO (as long as it doesn’t get to convoluted). I’d say updating, sorting, restructuring pages is more important than a new start page. Yes, please sort out reference vs

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
idn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which doc

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
et/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which documentation? The command pages which start with an

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
: - https://wiki.contextgarden.net/Command/startbuffer - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which documentation? The command pages which start with an underscore are probably leftovers when Taco changed a page f

[NTG-context] Wiki - test/proposal to further clarify documentation

2024-04-14 Thread garulfo
nd writers of the documentation by clarifying the purpose of each element. So I started a potential new "welcome page" : https://wiki.contextgarden.net/Main_Page2 The main lines would be : - Tutorials: installation pages, step by step examples - How-to guides: most of the exist

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
er - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which documentation? If it is not: - Is there a way to automatically merge the content of the couple of pages, and to remove the "wrong" pages, or should

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Jim
ile else if \setupsynctex[...] is used in the source file create the synctex file else do not create the synctex file > - the manual has been updates Ummm... I hunted around for a while, but I did not find out which manual was updated. The synctex wiki page has not been updated,

[NTG-context] Re: Back in the 90s

2024-04-13 Thread Hans Hagen
drive viewers we went from epson dot matrix printer -> early 300 dpi laser -> 600 dpi laser printer -> high speed oce 512 dpi printer (metric) -> high speed oce 600 dpi printer (+ crappy canon color laser printer) -> fast page-wide hp color inkjet office printer in mkii al

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
pdf" has a full chapter (#3, titled “Scanning Input”) and page 79 explains exactly this. Many thanks for your help, Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Weird (?) float placement for specific widths of image

2024-04-10 Thread Denis Maier via ntg-context
}{\externalfigure[cow][width=2cm]} \placefigure{A Cow}{\externalfigure[cow][width=2cm]} \stoptext% On the first page, the images appear stacked above each other while on the second page they appear next to each other. It took me some time to reproduce

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-10 Thread Hans Hagen
On 4/10/2024 5:22 AM, seyal zavira wrote: seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. as mentioned kind = "ou

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. also when i edit the code and replace metapost part like this: \startMPcode draw

[NTG-context] Fwd: [lug-leaders] BachoTeX 2024: Last minute

2024-04-09 Thread Taco Hoekwater
lug-boa...@ifi.uio.no > > Dear TeXies, > > we've extended the deadline for "early-bird" BachoTeX 2024 registrations > until 11th of April. > All the current details of the conference are available from the revamped(!) > page: > > https://bachote

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
, BUT: it has one additional page. The first page of the document is empty and has the word "on" in the upper left hand corner of the text area. I have checked several times, it always comes out like this. Everything else is exactly the same - context version, file and environment files (

[NTG-context] Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
Hi everybody, this is bizarre, but hear me out: a file that I have has a mixture of xml, TeX and Lua. It compiles cleanly, no problem, on macos and linux. I also have a little raspberry pi on which I have installed lmtx. The file compiles, BUT: it has one additional page. The first page

[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
Alan Bowen schrieb am 30.03.2024 um 20:59: How can I get the last page number of a chapter for a list (ToC)? Outside of a list, I use \lastpagenumber. But that does not work in a list such as the ToC. Any tips or pointers will be gladly received. You can try this: \definepagestate[alanpage

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
Hi, Bruce— This does not quite work—the page numbers are those of the first page of the chapter, not the last. But thanks for the tip about \writetolist. Perhaps I can get that to work. What I need are ToC entries like AuthorName ShortTitle 1–6 I need this pagination

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
> On 30 Mar 2024, at 19:59, Alan Bowen wrote: > > How can I get the last page number of a chapter for a list (ToC)? > > Outside of a list, I use \lastpagenumber. > But that does not work in a list such as the ToC. > > Any tips or pointers will be gladly received.

[NTG-context] last page number for a list

2024-03-30 Thread Alan Bowen
How can I get the last page number of a chapter for a list (ToC)? Outside of a list, I use \lastpagenumber. But that does not work in a list such as the ToC. Any tips or pointers will be gladly received. Alan

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
s you have guessed \definetext is the way to create a custom header for the first page of your \chapter, the command has like \setupheadertexts a variable number of arguments. The third argument with the horizontal position can only be used when you use two or four arguments to set texts on the left a

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
Our journal is currently in the process of moving to continuous publication of items in a given volume as they are ready. This entails re-jigging the ToC so that it now includes the start and end page numbers of each item. So far, I have everything pretty much in the right place, but for the page

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
Thomas Meyer schrieb am 26.03.2024 um 16:28: Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so

[NTG-context] Headertext

2024-03-26 Thread Thomas Meyer
Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so, how? Thanks for any help Greetings

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
ify}, extras=\dontleavehmode] \starttext \topruletitle{\MyInMargin {1.1.1}\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par \input knuth\page \topruletitle{\MyInMargin{3.2.22}{\bf Theorem 3.2.22 (Rechenregeln für Quantoren)}. Seien \m P(\m x)und \input zapf b} \stopt

[NTG-context] Re: offset with \copypages

2024-03-21 Thread Wolfgang Schuster
Peter Münster schrieb am 21.03.2024 um 15:04: Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext

[NTG-context] offset with \copypages

2024-03-21 Thread Peter Münster
Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext \copypages[test-file.pdf] \stoptext How could I

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
for the chapter needs to be included, or you will get a section number in the first page, even if there is no section. I have not found a better mechanism yet, but I'm quite sure there is a correct solution for this... I just haven't found it yet. Checking for the presence of \getmarking[section

[NTG-context] Re: can we do binding correction?

2024-03-20 Thread Hraban Ramm
/) are saddle-stitched booklets, usually have 60 pages and are printed on 115g coated paper. With coated paper you can’t really derivate the thickness from grammage. The horizontal page shift is visible if you look carefully. But since the paper is not very transparent, you only see the problem

[NTG-context] Re: can we do binding correction?

2024-03-20 Thread Hraban Ramm
organise this always with correction to the backspace. For every single page? Theoretically the shift value should be the same as the paper thickness (don’t you think?), but there’s some deformation involved, so a factor might make sense? I think that this would be quite cumbersome, paper

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
hift without applying imposition (setting it up > wouldn’t hurt). I organise this always with correction to the backspace. > > I didn’t think about vertical pageshift, but of course that’s also needed for > cross-folded sheets. > > I'm not sure how (horizontal) pageshift is su

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Hraban Ramm
vertical pageshift, but of course that’s also needed for cross-folded sheets. I'm not sure how (horizontal) pageshift is supposed to work with full page images without introducing white borders, but bleed at the inner edge should be enough. Theoretically the shift value should be the same

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
] \strut \blank \bold{[\Schema]} \vfill This is page \recurselevel \vfill \stopbuffer \starttext \dorecurse{\Pages}{\getbuffer[Fakepage]\page} \stoptext ___ If your question is of interest to others

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \define[2]\MyNumberChapterCommand {#1\space\blackrule[width=1pt,height=22pt,depth=8pt]\space#2} \setuphead [chapter] [ page=no, command=\MyNumberChapterCommand, style=\bfc]

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
; > > \starttexdefinition MyNumberChapterCommand #1 > \inframed[frame=off,rightframe=on,framecolor=black, > rulethickness=1px,height=30pt]{#1\enspace} > \stoptexdefinition > > \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, > page=no] &

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
Hi Hraban, I think we should clarify this. Binding correction is a fixed amount of whitespace in the spine added to the inner white-space. This is to ensure, that the binding, which is consuming white-space, keeps the inner white-space optically as intended.. The page shift mechanism works

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
olor=black,      rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \starttext \startchapter   [title={Algemene Beginselen},    ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter   [title={Organi

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
tyle={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter

[NTG-context] Re: can we do binding correction?

2024-03-18 Thread Hraban Ramm
up a scheme myself), I didn’t know about pageshift. Ok, if I leave imposition to the printshop and they don't do binding correction in their workflow, I'd need to set horoffset differently for every single page (i.e. first, second, second-to-last and last the same; 3th, 4th and from back

[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-17 Thread Hraban Ramm
Am 16.03.24 um 22:28 schrieb Marco Patzer: On Sat, 16 Mar 2024 20:33:33 + (UTC) Joel via ntg-context wrote: How do I remove the page number from the header texts? \setupheadertexts [] or \setuplayouttext [header][text] [middletext=] I’d have guessed

[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-16 Thread Marco Patzer
On Sat, 16 Mar 2024 20:33:33 + (UTC) Joel via ntg-context wrote: > How do I remove the page number from the header texts? \setupheadertexts [] or \setuplayouttext [header][text] [middletext=] Ma

[NTG-context] Why is header page number appearing when I define a header?

2024-03-16 Thread Joel via ntg-context
on the top and page numbers in the bottom corners. But somehow when I define this code, its also adding the page number not just to the bottom of the page, but to the top of the page as well. How do I remove the page number from the header texts? --Joel

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
mp total callbacks: 15411 system > backend callbacks : 0 system > mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: C:/Users/adeim/context/tex/texmf-cache/luametatex-cache/context/5fe67e0

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
Thank you! The solution worked! On Friday, March 15, 2024 at 02:30:40 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 15.03.2024 um 20:50: > When I run this code, \at{page}[xyz] is unable to find the cross reference: > > \starttext > %\r

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 15.03.2024 um 20:50: When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext %\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \NC \doifnotmode{*trialtypesetting

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext%\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line #2

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
ext \topruletitle{\MyInMargin {1.1.1}\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par \input knuth\page \topruletitle{\MyInMargin{3.2.22}{\bf Theorem 3.2.22 (Rechenregeln für Quantoren)}. Seien \m P(\m x)und \input zapf b} \stoptext Sorry for saying that again, but ple

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
Dear List, On the first page I had this example: \definepapersize[MyBook][width=19cm,height=29.7cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[modern, 12.50pt] \definemargindata

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
; > • aligning lines to the text box: https://www.w3.org/TR/jlreq/#fig1_3 > > > > You can use the lines key for \setuplayout to let ConTeXt calculate the > > necessary value for the text height. > > > > • protrusion of ruby: https://www.w3.org/TR/jlreq/#fig_ad1_6 &g

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
gt; > > You can use the lines key for \setuplayout to let ConTeXt calculate the > > necessary value for the text height. > > > > • protrusion of ruby: https://www.w3.org/TR/jlreq/#fig_ad1_6 > > > > You're getting this for free because ruby text doesn't take up v

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ut treated as being present, so the index will still point to that particular page. This solution seems to be what's causing the [entry not flushed] error in the index. Is there another solution instead of startnointerferencethat will hide text or any content but still allow page referenc

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
d as being present, so the index will still point to that particular page. This solution seems to be what's causing the [entry not flushed] error in the index. Is there another solution instead of startnointerferencethat will hide text or any content but still allow page references to link to

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
t height. > > • protrusion of ruby: https://www.w3.org/TR/jlreq/#fig_ad1_6 > > You're getting this for free because ruby text doesn't take up vertical > space, in case vertical text is working it would now stick into the margins > as expected. > > \starttext >

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
I have some custom registers that I use to index some information. When compiled, it just prints [entry not flushed] instead of printing some of the page numbers. I have tens of thousands of lines of code, so have no idea how to break the problem down to a minimal example. What does [entry

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
ve problems with SVGs, use Inkscape (or some commercial alternative > like Affinity Designer or Adobe Illustrator) for PDF conversion. > >> The MWE below works correctly, even if you have to make finer adjustments to >> place the figure in a precise position on the page. As I'm in th

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
iner adjustments to place the figure in a precise position on the page. As I'm in the process of enriching and clarifying a few pages of the ConTeXt wiki and the French wikibook, I'm interested in the details concerning the position of figures, images and photos etc. So please let me know (in pri

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
gure in a precise position on the page. As I'm in the process of enriching and clarifying a few pages of the ConTeXt wiki and the French wikibook, I'm interested in the details concerning the position of figures, images and photos etc. So please let me know (in private mail) how you make your documents (a

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
r {d + e} \alignhere= f \breakhere g \alignhere= h + i \stopformula \page \samplefile{knuth} \startformula \text{something} + \text{really} + \text{really} + \text{long} \alignhere= \sqrt{x} \numberhere \texthere[inbetween]{\input{knuth}}

[NTG-context] Creating a module for calligraphy practice templates

2024-03-12 Thread Andres Conrado Montoya
handled properly so far. For example, if I place a chapter before the Pauta macro invocation, there will be data on the top and bottom areas in the last page of the chapter. I've tried using \page and clearing the areas, which feels like cheating, but still does not work well. Any ideas on how

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
ution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example files are attached. Thanks, -- Max \setupindenting[yes, 3em] \setuphe

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
amounts of lines. They should be 46 lines on one page, while the actual example doesn't show the 46th line. It would be important to identify the reason why only 24 characters are used to create a line when 25 could be used. Then we can develop a method to turn

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
vertical text is working it would now stick into the margins > as expected. > \starttext > \ruledhbox{a \ruby{x}{y} b} > \stoptext > > > > > > In my previous mail, I wrote wrong amounts of lines. They should be 46 > > lines on one page, while the actual example do

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-07 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:17: On 3/6/24 19:50, Wolfgang Schuster wrote: [...] Could you write the first line in plain language? Look at the second example of the Lua code in the example below for each command (the first example is your version), the third

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
in pagecolumns manual, everything is put on the top of next page. (BTW, there is a typo: «of aremoved») I don't know, whether this MWE helps is relevant, but just in case, here is what I did: * copy tugboat.mkxl to a new file p-bachotex.mkxl * changed p-bachotex.mkxl like this: \startsetups

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Hans Hagen
On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section in th elow level manual and also explain

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 19:50, Wolfgang Schuster wrote: >> [...] >> Could you write the first line in plain language? > > Look at the second example of the Lua code in the example below for each > command (the first example is your version), the third example is just a > condensed version of example 2. Many

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
which is shorter than writing "\ifnum ... = 0". The semicolon is also mysterious to me, I don’t know what it does there in plain language. The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Henning Hraban Ramm
: 2024.02.22 18:31 LMTX fmt: 2024.2.22). Can someone try on MkIV? """ \usesymbols[nav] \starttext \showsymbolset[nav] \stoptext """ You pass the wrong name to \showsymbolset. \usesymbols[nav] \starttext \showsymbolset[navigation 1]\page \showsymbolset[navigation 2]\

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Wolfgang Schuster
try on MkIV? """ \usesymbols[nav] \starttext \showsymbolset[nav] \stoptext """ You pass the wrong name to \showsymbolset. \usesymbols[nav] \starttext \showsymbolset[navigation 1]\page \showsymbolset[navigation 2]\page \showsymbolset[navigatio

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 2/28/24 19:28, Wolfgang Schuster wrote: > [...] > \def\beforequadruplenumber#1% >{\ifcase\numexpr#1+1;4\relax > \number\numexpr#1+4\relax > \else > \number\numexpr#1+3-#1;4\relax > \fi} Sorry for not having answered before, Wolfgang. I’m afraid I don’t get how \ifcase

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
into the margins as expected. \starttext \ruledhbox{a \ruby{x}{y} b} \stoptext In my previous mail, I wrote wrong amounts of lines. They should be 46 lines on one page, while the actual example doesn't show the 46th line. It would be important to identify the reason why only 24 characters are used

  1   2   3   4   5   6   7   8   9   10   >